/**
 * 参赛人员数据
 */



/**
 * 列表导出字段
 */
export const export_competition_columns = [
    {
        label: "学生ID",
        value: "studentId",
    },
    {
        label: "组委会名称",
        value: "agentName",
    },
    {
        label: "机构名称",
        value: "informationName",
    },
    {
        label: "比赛项目",
        value: "eventName",
        handle: (value, row) => {
            return row.eventName + row.startTime;
        }
    },
    {
        label: "姓名",
        value: "studentName",
    },
    {
        label: "身份类型",
        value: "documentType",
        handle: (value, row) => {
            let content = "";
            switch (value) {
                case "idcard":
                    content = "身份证";
                    break;
                case "passport":
                    content = "护照";
                    break;
                case "hcpassport":
                    content = "港澳通行证";
                    break;
                case "taiwanesesyndrome":
                    content = "台胞证";
                    break;
                default:
                    content = "身份证";
                    break;
            }
            return content;
        }
    },
    {
        label: "类型号码",
        value: "documentNumber",
    },
    {
        label: "手机号",
        value: "phone",
    },
    {
        label: "学校",
        value: "schoolName",
    },
    {
        label: "参赛证号",
        value: "entryNumber",
    },
    {
        label: "性别",
        value: "gender",
        handle: (value, row) => {
            let content = "";
            switch (Number(value)) {
                case 0:
                    content = "女";
                    break;
                case 1:
                    content = "男";
                    break;
                default:
                    content = "保密";
                    break;
            }
            return content;
        }
    },
    {
        label: "参赛状态",
        value: "entryStatus",
        handle: (value, row) => {
            let content = "";
            switch (Number(value)) {
                case 0:
                    content = "未通过";
                    break;
                case 1:
                    content = "未报名";
                    break;
                case 2:
                    content = "待审核";
                    break;
                case 3:
                    content = "待绑定";
                    break;
                case 4:
                    content = "已绑定";
                    break;
                default:
                    content = "-";
                    break;
            }
            return content;
        }
    },
    {
        label: "指导老师",
        value: "teacherName",
    },
    {
        label: "奖项",
        value: "awards",
    },
]